/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package SteamEngineFX.Layouts;

import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.layout.HBox;

/**
 *
 * @author jbendixsen
 */
public class StatusBarPane extends HBox{
    
    private Label statusLabel = null;
    private Label debugLabel = null;
    
    public StatusBarPane() {
        setPrefHeight(30);
        setSpacing(10);
        setAlignment(Pos.CENTER_LEFT);
        getStyleClass().add("StatusBarPane");
        
        
        statusLabel = new Label("Loading...");
        debugLabel = new Label("...");
        
        getChildren().addAll(statusLabel, debugLabel);
        
    }
    
    public void setStatusLabel(String NewStatus){
        statusLabel.setText(NewStatus);
    }
    
    public void setDebugText(String DebugText){
        debugLabel.setText(DebugText);
    }
    
}
